//
//  DiscoverVisitorNavigationController.swift
//  SinaMicroBlog
//
//  Created by xinjuwen on 15/10/19.
//  Copyright © 2015年 xinjuwen. All rights reserved.
//

import UIKit

class DiscoverVisitorNavigationController: BaseNavigationController {

    convenience init() {
        
        //Navigation的根控制器
        let DiscoverVisitorController = DiscoverVisitorViewController()
        
        //NavigationBar和TabBar上显示的title
        DiscoverVisitorController.title = "发现"
        
        //调用本类的指定构造器
        self.init(image: "tabbar_discover", selectedImage: "tabbar_discover_highlighted", rootController: DiscoverVisitorController)
    }

    
    /**
    重写父类构造函数
    
    - parameter image:          tabBar的图标
    - parameter selectedImage:  被选择后tabBar的图标
    - parameter rootController: 根控制器
    */
    override init(image:String, selectedImage:String, rootController:UIViewController) {
        super.init(image: image, selectedImage: selectedImage, rootController: rootController)
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }
    
    override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
        super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
    }

}
